package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @ClassName: GwbiT
 * @Author: caijy
 * @Date: 2019-7-2 0002 17:44
 * @Description:TODO
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWBI_T")
public class GwbiT extends PO<GwbiT> {
    private static final long serialVersionUID = 1L;

    @TableId(value = "GWBIENT", type = IdType.INPUT)
    private String GWBIENT;
    private String GWBINAME;
    private String GWBIID;
    private BigDecimal GWBISEQ;
    private String GWBI001;
    private String GWBI002;
    private String GWBI003;
    private String GWBI004;
    private String GWBI005;
    private String GWBI006;
    private String GWBI007;
    private String GWBI008;
    private String GWBI009;
    private String GWBI010;
    private String GWBI011;

    private String GWBIPLANT;
    private String GWBILEGAL;
    private String GWBIACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWBIUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWBIGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWBIMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWBITIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBIDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWBIORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWBIORIU;


    @Override
    protected Serializable pkVal() {
        return this.GWBIENT;
    }
}
